<?php
$this->breadcrumbs=array(
	'Deals'=>array('deal/admin'),
	//$model->customer->getFullName()=>array('customer/view','id'=>$model->customerId),
	$model->deal->referenceNo=>array('deal/view','id'=>$model->dealId),
	'Attachments'=>array('admin','dealId'=>$model->dealId),
	$model->name=>array('view','id'=>$model->id),
	'Update',
);

$this->menu=array(
//	array('label'=>'List Attachment', 'url'=>array('index')),
	array('label'=>'Create Attachment', 'url'=>array('create','dealId'=>$model->dealId)),
	array('label'=>'View Attachment', 'url'=>array('view', 'id'=>$model->id)),
	array('label'=>'Manage Attachment', 'url'=>array('admin','dealId'=>$model->dealId)),
);
?>

<h1>Update Attachment - <?php echo $model->name; ?></h1>

<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>